package com.cuij.service;

import com.cuij.entity.Result;

public interface orderBusiService {

    // 通过use_id查找busi_id并设置cookie
    public Result findBusiIdByUseId(String use_id);

    // 查询当前商家信息
    public Result findBusiInfoByBusiId(String busi_id);

    // 修改商家信息
    public Result modifyBusiInfo(String busi_id, String busi_type, String busi_desc, String busi_pic,
            String busi_linkname, String busi_linkphone, String busi_address, String busi_atten, String oldfilename);

    // 查询账户余额
    public Result querybusimoney(String busi_id);

    // 查询所有商家
    public Result querybusi();

    // 按类别查询所有商家
    public Result querybusibytype(String type);

    // 在某类别下按条件查询
    public Result querybusibyterm(String type, String term);

}
